@import "schema.less";

input {
  //background-color: white;
  //-webkit-rtl-ordering: logical;
  //cursor: text;
  //padding: 1px;
  //border-width: 2px;
  //border-style: inset;
  //border-color: initial;
  //border-image: initial;
}
input, textarea, select, button {
  text-rendering: auto;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  margin: 0em;
  font: 400 11px system-ui;
}

input, textarea, select, button, meter, progress {
  -webkit-writing-mode: horizontal-tb !important;
}
.form-layout{
  margin: 1rem;
  margin-top:0;
  >tr>td{
    padding-top: 1rem;
  }
}
form{
  display: flex;
  flex-direction: column;
  flex:auto;
}
.form-command{
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-direction: row;
  min-height: 3.2rem;
  justify-content: flex-end;
  background: #f8f9fa;
  border-top: solid 1px #c6d5e3;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  button{
    margin:0.5rem;
    margin-left: 0;
    align-items: flex-end;
  }
}

.form-control {
  display: block;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
button, input {
  overflow: visible;
}
button, input, optgroup, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.combox{
  display: inline-block;
  position: relative;
  height: 2.1rem;
  padding: 0;
  >input{
     border: none;
     font-size:1rem;
     margin: .3rem 0;
     line-height: 1.3rem;
     color: #495057;
     margin-left: .7rem;
  }
  >b{
    border-left:solid 1px #ccc;
    line-height: 1.3rem;
    padding: .5rem;
    margin: 0;
    cursor:pointer;
    &:hover{
      color: slategray
    }
  }
  >.rect{
    position: absolute;
    top: 2.1rem;
    left: 0;
    z-index: 2;
    border: solid 1px #ccc;
    border-radius: 0.3rem;
    background: #fff;
  }
}
.option{
  line-height: 1.3rem;
  font-size: 1rem;
  color: #495057;
  display: block;
  cursor: pointer;
  min-width: 200px;
  padding: .5rem;
}
.selected{
  background: #c4d2f6;
}
.option:hover{
  background: #cbdaff;
}
